<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>  
<%@ page language="java" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String home = request.getScheme()+"://"+request.getServerName()+"/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>
       <c:if test="${'0' eq member.flag}">
           欢迎来到 ${member.nickname } 的个人空间
        </c:if>
        <c:if test="${'1' eq member.flag}">
           欢迎来到 ${member.nickname } 的个人空间
        </c:if>
        <c:if test="${'2' eq member.flag}">
          ${member.nickname }
       </c:if>  - 南充兼职网 - 南充唯一一家本土化兼职、专职人才招聘网站
    </title>
    <link href="<%=basePath %>web/index_css.css" rel="stylesheet" type="text/css" />
    <link href="<%=basePath %>web/member.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%=basePath %>js/upload.js"></script>
</head>
<body>
   <div class="head">
    <iframe src="<%=basePath %>web/head.html" width="1000px"  height="152px"  frameborder="0" scrolling="no" ></iframe>
   </div>
<div class="main">
  <div class="mem_top">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" >
  <tr>
    <td width="18" height="36" valign="bottom">&nbsp;</td>
    <td width="102" valign="bottom"><img src="<%=basePath %>web/mem_img/logo.gif" width="85" height="23" /></td>
    <td width="500" valign="bottom" class="mem_title">
        <c:if test="${'0' eq member.flag}">
           欢迎来到 ${member.nickname } 的个人空间
        </c:if>
        <c:if test="${'1' eq member.flag}">
           欢迎来到 ${member.nickname } 的个人空间
        </c:if>
        <c:if test="${'2' eq member.flag}">
          Welcom,${member.nickname }
        </c:if>  
    </td>
    <td width="154">&nbsp;</td>
    <td width="244" valign="bottom" class="mem_title">
        <c:if test="${'0' eq member.flag}">
           <a href="<%=basePath%>mlogin.html"><font color="white">登录</font></a>
           - 
           <a href="<%=basePath%>mregister.html"><font color="white">注册</font></a>
        </c:if>
        <c:if test="${'1' eq member.flag}">
           <a href="<%=basePath%>home/${manager.mid }.html"><font color="white">我的小屋</font></a>
            - 
           <a href="<%=basePath%>utils/logout.jsp"><font color="white">退出登录</font></a>
        </c:if>
        <c:if test="${'2' eq member.flag}">
          <a href="<%=basePath%>utils/logout.jsp"><font color="white">退出登录</font></a>
        </c:if>  
    </td>
  </tr>
</table>
  </div> <!--top信息-->
  <div class="mleft">
    <div class="pic"><img src="<%=basePath %>${member.mpic }" /></div><!--照片-->
    <div class="kuang">
     <img src="<%=basePath %>web/images_xu/companypic.gif" width="204px" height="115px"/>
    </div> <!--空框-->
    <div class="gn_dh">
      <div class="gr_cd">个人菜单</div>
      <ul class="line_list">
      <c:choose>
        <c:when test="${'2' eq member.flag}"><!-- 登录后查看自己信息 -->
          <li style="background:url(<%=basePath %>web/mem_img/profile.gif) no-repeat 5px 8px;"><a  href="index!findMyInfo.action" target="change">个人资料</a> </li>
          <li style="background:url(<%=basePath %>web/mem_img/poke.gif) no-repeat 5px 8px;"><a  href="index!johnInfo.action?mid=${member.mid }&mtype=01" target="change">我的招聘</a> </li>
          <li style="background:url(<%=basePath %>web/mem_img/event.gif) no-repeat 5px 8px;"><a href="index!johnInfo.action?mid=${member.mid }&mtype=02" target="change">我的活动</a> </li>
          <li style="background:url(<%=basePath %>web/mem_img/album.gif) no-repeat 5px 8px;"><a  href="index!johnInfo.action?mid=${member.mid }&mtype=03" target="change">我的培训</a> </li>
          <li style="background:url(<%=basePath %>web/mem_img/album.gif) no-repeat 5px 8px;"><a   href="marticle!findArticleByLimit.action?mid=${member.mid}" target="change">我的日志</a> </li>
          <li style="background:url(<%=basePath %>web/mem_img/doing.gif) no-repeat 5px 8px;"><a   href="<%=basePath%>utils/logout.jsp">退出登录</a> </li>
        </c:when>
        <c:otherwise><!--游客、 登陆后查看别人信息 -->
          <li style="background:url(<%=basePath %>web/mem_img/poke.gif) no-repeat 5px 8px;"><a  href="index!johnInfo.action?mid=${member.mid }&mtype=01" target="change">我的招聘</a> </li>
          <li style="background:url(<%=basePath %>web/mem_img/event.gif) no-repeat 5px 8px;"><a href="index!johnInfo.action?mid=${member.mid }&mtype=02" target="change">我的活动</a> </li>
          <li style="background:url(<%=basePath %>web/mem_img/album.gif) no-repeat 5px 8px;"><a  href="index!johnInfo.action?mid=${member.mid }&mtype=03" target="change">我的培训</a> </li>
          <li style="background:url(<%=basePath %>web/mem_img/doing.gif) no-repeat 5px 8px;"><a   href="marticle!findArticleByLimit.action?mid=${member.mid}" target="change">我的日志</a> </li>
        </c:otherwise>
      </c:choose>
  
  </ul>
    </div><!--功能列表-->
  </div>
  <!-- ------------mleft结束--------------->
  <div class="mright">
    <div class="name">${member.realname }的个人信息</div>
    <div  class="gr_xx" style="font-size: 15px;">
     <c:if test="${'0' eq member.flag}">
      会员昵称:<font color="#FD7D01">[${member.nickname }]</font><br/>
     </c:if>
     <c:if test="${'1' eq member.flag}">
      会员昵称:<font color="#FD7D01">[${member.nickname }]</font><br/>
     </c:if>
     <c:if test="${'2' eq member.flag}">
      我的账号:<font color="#FD7D01">[${member.uname }]</font><br/>
     </c:if>
      兼职积分:${member.score },活跃度积分:${member.loginnum }<br />
      入会时间:<fmt:formatDate value="${member.stime}" pattern="yyyy-MM-dd"/><br />
      到期时间:<fmt:formatDate value="${member.etime}" pattern="yyyy-MM-dd"/><br />
     <c:if test="${'2' eq member.flag}">
      修改头像:<a href="javascript:void(0);" onclick="javascript:PopUpWindow('<%=basePath %>web/uploadimage.jsp',100,100,650,409);">点击上传照片</a>[上传后请刷新该页面]<br />
     </c:if>
      <font color="#FD7D01" size="2">个人主页：<a href="<%=basePath %>home/${member.mid}.html"><%=home %>home/${member.mid}.html</a></font>
    </div>
  <div class="kuang1" style="font-size: 15px;">
   I Like This Words:${member.mcontent }
  </div> <!--空框-->
  <div class="if_css">
   <iframe src="marticle!findArticleByLimit.action?mid=${member.mid}" width="765" height="700" frameborder="0" id="change"  name="change"  scrolling="auto" ></iframe>
  </div>
  </div>
  <!-- ------------mright结束--------------->
</div>
  <!-- ------------主体list_main结束--------------->
<div class="head"><iframe src="<%=basePath %>web/footer.html" width="1000"  height="100"  frameborder="0" scrolling="no" ></iframe></div>
  </body>
</html>
